package com.rescue.forum.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("救援记录分页查询")
public class RecordPageQueryDTO {
    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("类型0:普通救援,1:一键救援")
    private Integer rescueType;
    @ApiModelProperty("状态0:已发送,1:已接收，2:已完成，3已取消，4已超时")
    private Integer rescueStatus;
    @ApiModelProperty("灾害类型:1地震2火灾3暴雨4洪水5交通事故6其他")
    private Integer disasterTypeId;
    @ApiModelProperty("救援者ID")
    private Integer rescueUserId;

    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("每页大小")
    private Integer pageSize;
    /**
     * 请求坐标
     */
    @ApiModelProperty("经度")
    private Double lon;
    @ApiModelProperty("纬度")
    private Double lat;
}
